<html>
<head><meta charset="utf-8"><title>edition rfc: how to tackle lints · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html">edition rfc: how to tackle lints</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226731815"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226731815" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226731815">(Feb 17 2021 at 21:54)</a>:</h4>
<p>So... I feel like we're getting good motion towards an "edition lint policy" in <a class="stream-topic" data-stream-id="268952" href="/#narrow/stream/268952-edition/topic/lint.20promotions">#edition &gt; lint promotions</a>, but we're not there. I want to post the RFC.</p>



<a name="226731857"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226731857" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226731857">(Feb 17 2021 at 21:54)</a>:</h4>
<p>I am trying to figure out what if anything it should say :)</p>



<a name="226731892"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226731892" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226731892">(Feb 17 2021 at 21:54)</a>:</h4>
<p>I think it should just talk about migrations and establish the overall goals, and those same considerations apply to errors or lints</p>



<a name="226731936"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226731936" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226731936">(Feb 17 2021 at 21:54)</a>:</h4>
<p>I'm thinking specifically of <a href="https://hackmd.io/dRsVUVj5Qoi5oz0aPf_nFg?view#Kinds-of-edition-changes">this section</a></p>



<a name="226731989"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226731989" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226731989">(Feb 17 2021 at 21:55)</a>:</h4>
<p>in short, a "migration" is any sort of error that occurs as a result of changing editions</p>



<a name="226737360"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226737360" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226737360">(Feb 17 2021 at 22:24)</a>:</h4>
<p>I think that's right, I think I disagree with the principles laid out there though -- maybe just needs updating</p>



<a name="226747278"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226747278" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226747278">(Feb 18 2021 at 00:04)</a>:</h4>
<p>say more :)</p>



<a name="226753865"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226753865" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226753865">(Feb 18 2021 at 01:29)</a>:</h4>
<p>I think I might just cut the edition lints section as "coming soon" from the rfc</p>



<a name="226753893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226753893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226753893">(Feb 18 2021 at 01:29)</a>:</h4>
<p>I think the contention we're running into is being pretty well expressed on <a class="stream-topic" data-stream-id="268952" href="/#narrow/stream/268952-edition/topic/lint.20promotions">#edition &gt; lint promotions</a></p>



<a name="226754133"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226754133" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226754133">(Feb 18 2021 at 01:33)</a>:</h4>
<p>(and my point on principles is largely this "should we warn on 2015/2018 or not")</p>



<a name="226961958"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226961958" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226961958">(Feb 19 2021 at 13:23)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> I created an <a href="https://hackmd.io/dRsVUVj5Qoi5oz0aPf_nFg?view#What-is-the-policy-on-warnings-and-lints-tied-to-the-edition">unresolved question</a></p>



<a name="226962346"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226962346" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226962346">(Feb 19 2021 at 13:26)</a>:</h4>
<p>Seems good</p>



<a name="226962386"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226962386" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226962386">(Feb 19 2021 at 13:27)</a>:</h4>
<p>Ultimately it does also feel like a finer grained more lang-y decision than rfc-y, though FCP would be good.</p>



<a name="226962483"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226962483" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226962483">(Feb 19 2021 at 13:28)</a>:</h4>
<p>I think documenting tradeoffs and such would be good when we do, but ultimately someone just needs to make a call :)</p>



<a name="226962962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226962962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226962962">(Feb 19 2021 at 13:32)</a>:</h4>
<p>yes</p>



<a name="226962984"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226962984" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226962984">(Feb 19 2021 at 13:32)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/268952-edition/topic/edition.20rfc.3A.20how.20to.20tackle.20lints/near/226962386">said</a>:</p>
<blockquote>
<p>Ultimately it does also feel like a finer grained more lang-y decision than rfc-y, though FCP would be good.</p>
</blockquote>
<p>I tend to agree, but I do want a good write-up</p>



<a name="226962999"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/edition%20rfc%3A%20how%20to%20tackle%20lints/near/226962999" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/edition.20rfc.3A.20how.20to.20tackle.20lints.html#226962999">(Feb 19 2021 at 13:32)</a>:</h4>
<p>maybe i'll just write that</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>